﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace SpaceKinect.Screens
{
    class HighScores:GameScreen
    {

        #region Initialization


        /// <summary>
        /// The constructor is private: loading screens should
        /// be activated via the static Load method instead.
        /// </summary>
        private HighScores(ScreenManager screenManage)
        {
        }


        /// <summary>
        /// Activates the loading screen.
        /// </summary>
        public static void Load(ScreenManager screenManager, PlayerIndexEventArgs e)
        {

            // Create and activate the loading screen.
            HighScores loadingScreen = new HighScores(screenManager);

            screenManager.AddScreen(loadingScreen,e.PlayerIndex);
        }


        #endregion

        #region Update and Draw


        /// <summary>
        /// Draws the loading screen.
        /// </summary>
        public override void Draw(GameTime gameTime)
        {
        }

        public override void HandleInput(InputState input)
        {
            PlayerIndex playerIndex;
            if (input.IsMenuSelect(ControllingPlayer, out playerIndex))
            {
                ExitScreen();
            }
        }

        #endregion
    }

}
